var appVisible = true;